<div id="sidebar-left">
<div class="inner">
<?php foreach ($modules as $module) { ?>
  <?php echo ${$module['code']}; ?>
 <?php } ?>

</div><!-- end inner -->
</div><!-- end sidebar -->
  

